[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FALSE
Function
To provide a named constant for the boolean false value in boolean
expressions.
Value
0 = 0b = 0o = 0h
Remarks
BOOLEAN logic is based on two values: TRUE (1) and FALSE (0). The
literal numeric constants 0 and 1 may be used in expressions, or
you may use the predefined named constants TRUE and FALSE. They
make for more readable, maintainable code and have no more overhead
than any other constant value at run time.
Example
BOOLEAN flag
LET flag = TRUE
WHILE (!flag) DO
INPUTSTR "Text",s,@X0E,60,"ABCDEFGHIJKLMNOPQRSTUVWXYZ",UPCASE
PRINTLN s
IF (s = "QUIT") LET flag = FALSE
ENDWHILE
See Also:
TRUE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson